<h1>Listing gsclasses</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Hp</th>
    <th>Pp</th>
    <th>Att</th>
    <th>Def</th>
    <th>Agil</th>
    <th>Luck</th>
  </tr>

<% for gsclass in @gsclasses %>
  <tr>
    <td><%=h gsclass.name %></td>
    <td><%=h gsclass.hp %></td>
    <td><%=h gsclass.pp %></td>
    <td><%=h gsclass.att %></td>
    <td><%=h gsclass.def %></td>
    <td><%=h gsclass.agil %></td>
    <td><%=h gsclass.luck %></td>
    <td><%= link_to 'Show', gsclass %></td>
    <td><%= link_to 'Edit', edit_gsclass_path(gsclass) %></td>
    <td><%= link_to 'Destroy', gsclass, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New gsclass', new_gsclass_path %>
